#pragma once

class CMessage
{
private:
	char _code;
	char* _fromUser;
	char* _message;
public:
	char GetCode();
	char* GetFromUser();
	char* GetMes();
	void SetCode(char);
	void SetMes(char*);
	void SetUser(char*);
	void ToChar(char* outString);
	void FromChar(char* inString);
	void Reset();
	CMessage(void);
	CMessage(char,char*,char*);
	CMessage(char*);
	~CMessage(void);
};
